package com.dev.op.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Objects;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SubTask implements Serializable {
    private String submissionId;
    private int caseId;
    private String code;
    private String input;
    private String expected;
    private String lang;
    //单位 s
    private String timeLimit;
    //单位 MB
    private String memLimit;

    @Override
    public String toString() {
        return "SubTask{" +
                "submissionId='" + submissionId + '\'' +
                ", caseId=" + caseId +
                ", code='" + code + '\'' +
                ", expected='" + expected + '\'' +
                ", lang='" + lang + '\'' +
                ", timeLimit='" + timeLimit + '\'' +
                ", memLimit='" + memLimit + '\'' +
                '}';
    }
}
